package plugins.mobil;

import kd.bos.form.control.IFrame;
import kd.bos.form.plugin.AbstractMobFormPlugin;
import kd.sdk.plugin.Plugin;

import java.util.EventObject;

/**
 * 动态表单插件(移动端)
 */
public class dataTree extends AbstractMobFormPlugin implements Plugin {
    @Override
    public void afterCreateNewData(EventObject e) {
        super.afterCreateNewData(e);
        IFrame iframe = this.getView().getControl("dcb4_iframeap");
        // 设置url，苍穹开发者门户
        String url = "http://hfcs-nj-a.llycloud.top:31176/";
        iframe.setSrc(url);
    }
}